<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let date=prompt("请输入日期","星期四")
        let money=prompt("请输入金额",50)
        function Person2(a,b,c){
            this.date=a
            this.money=b
        }

        let p2=new Person2(date,money)
        if(p2.date==="星期四"){
            console.log("疯狂星期四！")
        }
        else{
            console.log("今天"+p2.date)
        }
    </script>
</body>
</html>